package com.ruoyi.mes.production.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺流程管理对象 smes_tech_procedure
 *
 * @author simpsense
 * @date 2020-12-03
 */
public class SmesTechProcedure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 工艺流程编号 */
    @Excel(name = "工艺流程编号")
    private String techProcedureNo;

    /** 工艺流程名称 */
    @Excel(name = "工艺流程名称")
    private String techProcedureName;

    /** 工艺编号 */
    @Excel(name = "工艺编号")
    private String techProcessNo;

    /** 当前工序  */
    @Excel(name = "当前工序 ")
    private String currentProcessNo;
    @Excel(name = "当前工序 ")
    private String currentProcessName;

    /** 下工序  */
    @Excel(name = "下工序 ")
    private String nextProcessNo;

    public String getCurrentProcessName() {
        return currentProcessName;
    }

    public void setCurrentProcessName(String currentProcessName) {
        this.currentProcessName = currentProcessName;
    }

    public String getNextProcessName() {
        return nextProcessName;
    }

    public void setNextProcessName(String nextProcessName) {
        this.nextProcessName = nextProcessName;
    }

    @Excel(name = "下工序 ")
    private String nextProcessName;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String deleteFlag;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setTechProcedureNo(String techProcedureNo)
    {
        this.techProcedureNo = techProcedureNo;
    }

    public String getTechProcedureNo()
    {
        return techProcedureNo;
    }
    public void setTechProcedureName(String techProcedureName)
    {
        this.techProcedureName = techProcedureName;
    }

    public String getTechProcedureName()
    {
        return techProcedureName;
    }
    public void setTechProcessNo(String techProcessNo)
    {
        this.techProcessNo = techProcessNo;
    }

    public String getTechProcessNo()
    {
        return techProcessNo;
    }
    public void setCurrentProcessNo(String currentProcessNo)
    {
        this.currentProcessNo = currentProcessNo;
    }

    public String getCurrentProcessNo()
    {
        return currentProcessNo;
    }
    public void setNextProcessNo(String nextProcessNo)
    {
        this.nextProcessNo = nextProcessNo;
    }

    public String getNextProcessNo()
    {
        return nextProcessNo;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("techProcedureNo", getTechProcedureNo())
                .append("techProcedureName", getTechProcedureName())
                .append("techProcessNo", getTechProcessNo())
                .append("currentProcessNo", getCurrentProcessNo())
                .append("currentProcessName", getCurrentProcessName())
                .append("nextProcessNo", getNextProcessNo())
                .append("nextProcessName", getNextProcessName())
                .append("deleteFlag", getDeleteFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}